package util;

import java.util.HashSet;
import java.util.Set;

public class Renderer {
	public Set<Camera> cameras = new HashSet<Camera>();
	private int cameraCounter = 1;
	
	public void addCamera() {
		Camera c = new Camera(cameraCounter++);
		cameras.add(c);
	}
	
	public Camera getPrimaryCamera() {
		for(Camera c : cameras) {
			if(c.order == 1) {
				return c;
			}
		}
		return null;
	}
}
